<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<div class="t_bar2"
	style="height: 30px; margin-bottom: -10px; padding-top: 5px; text-align: left;">平台成果转化、转移、推广与服务情况表</div>
<table class="t_css  table01" width="100%" border="0" cellpadding="0" id="pservice" cellspacing="1">
	<col style="width: 5%;" />
	<col style="width: 5%;" />
	<col style="width: 11.25%;" />
	<col style="width: 11.25%;" />
	<col style="width: 11.25%;" />
	<col style="width: 11.25%;" />
	<col style="width: 11.25%;" />
	<col style="width: 11.25%;" />
	<col style="width: 11.25%;" />
	<col style="width: 11.25%;" />
	<thead>
		<tr>
			<th>选择</th>
			<th>序号</th>
			<th>成果名称<br/>（限300字）</th>
			<th>转化方式</th>
			<th>成果阶段</th>
			<th>成果类型</th>
			<th>成果应用单位<br/>（限300字）</th>
			<th>联系人</th>
			<th>直接经济效益<br/>（万元）</th>
			<th>间接经济效益<br/>（万元）</th>
		</tr>
	</thead>
	<tbody id="tab">
		<tr style="display: none" align="center">
			<td align="center"><input type="radio" class="radiobutton" name="selfund_pservice"></td>
			<td align="center"><span name="pservices|pservice[0]@seq_no">[index]</span></td>
			<td align="center"><input id="result_name[index]" name="pservices|pservice[0]|result_name"  label="成果名称" value="" class="required input_text" style="width: 85%;" maxlength="300" /></td>
			<td align="center">
				<cpt:select id="transformation_method[index]" name="transformation_method" key="transformation_method" onChange="initControlValue(this.id)" label="转化方式" style="width:90%"></cpt:select>
				<input type="hidden" name="pservices|pservice[${flag}${index}]|transformation_method_value" class="required" label="转化方式"  value="" /> 
				<input type="hidden" name="pservices|pservice[${flag}${index}]|transformation_method_name" value="" />
			</td>
			<td align="center">
				<cpt:select id="result_phase[index]" name="result_phase" key="result_phase" onChange="initControlValue(this.id);" label="成果阶段" style="width:90%"></cpt:select>
				<input type="hidden" name="pservices|pservice[${flag}${index}]|result_phase_value" class="required" label="成果阶段"  value="" /> 
				<input type="hidden" name="pservices|pservice[${flag}${index}]|result_phase_name" value="" />
			</td>
			<td align="center">
				<cpt:select id="result_type[index]" name="result_type" key="result_type" onChange="initControlValue(this.id);" label="成果类型" style="width:90%"></cpt:select>
				<input type="hidden" name="pservices|pservice[${flag}${index}]|result_type_value" class="required" label="成果类型"  value="" /> 
				<input type="hidden" name="pservices|pservice[${flag}${index}]|result_type_name" value="" />
			</td>
			<td align="center">
			 <input id="application_unit[index]" name="pservices|pservice[0]|application_unit" label="成果应用单位"  value=""	class="required input_text" style="width: 85%;" maxlength="300" />
			</td>
			<td align="center">
			<input id="contact_person[index]" name="pservices|pservice[0]|contact_person" label="联系人"   value=""	class="required input_text" style="width: 85%;" maxlength="100" />
			</td>
			<td align="center">
			<input id="direct_benefit[index]" name="pservices|pservice[0]|direct_benefit" label="直接经济效益（万元）"  value="" onfocus="InitInput.setNumber(this,7,2,2)" class="required input_text" style="width: 85%;text-align: right;"  />
			</td>
			<td align="center">
			<input id="indirect_benefit[index]" name="pservices|pservice[0]|indirect_benefit" label="间接经济效益（万元）"  value="" onfocus="InitInput.setNumber(this,7,2,2)"	class="required input_text" style="width: 85%;text-align: right;"  />
			</td>
		</tr>
		<c:set value="0" var="index" scope="page" />
		<x:forEach select="$xmlData/data/pservices/pservice" var="pservice">
			<c:choose>
				<c:when test="${index<10}">
					<c:set value="0" var="flag" scope="page" />
				</c:when>
				<c:otherwise>
					<c:set value="" var="flag" scope="page" />
				</c:otherwise>
			</c:choose>
			<tr align="center">
				<td><input type="radio" class="radiobutton" 
					name="selfund_pservice"></td>
				<td align="center"><span name="pservices/pservice[${flag}${index}]@seq_no"><x:out select="$pservice/@seq_no" /></span></td>
				<td><input id="result_name_[${flag}${index}]"
					value="<x:out select="$pservice/result_name"/>"label="成果名称"
					name="pservices/pservice[${flag}${index}]/result_name"
					maxlength="300" class="required input_text"  style="width: 85%" /></td>
					<td align="center">
					<c:set var="transformation_method_value"><x:out select="$pservice/transformation_method_value" /></c:set> 
					<cpt:select id="transformation_method${index}" value="${transformation_method_value }" key="transformation_method" label="转化方式" name="transformation_method" onChange="initControlValue(this.id);"  style="width:90%"></cpt:select>
					<input type="hidden" name="pservices/pservice[${flag}${index}]/transformation_method_value" class="required" label="转化方式" value="<x:out select="$pservice/transformation_method_value" />" />
					<input type="hidden"  name="pservices/pservice[${flag}${index}]/transformation_method_name" value="<x:out select="$pservice/transformation_method_name" />" />
					</td>
					<td align="center">
					<c:set var="result_phase_value"><x:out select="$pservice/result_phase_value" /></c:set> 
					<cpt:select id="result_phase${index}" value="${result_phase_value }" key="result_phase" name="result_phase" label="成果阶段" onChange="initControlValue(this.id);"  style="width:90%"></cpt:select>
					<input type="hidden" name="pservices/pservice[${flag}${index}]/result_phase_value" class="required" label="成果阶段" value="<x:out select="$pservice/result_phase_value" />" />
					<input type="hidden"  name="pservices/pservice[${flag}${index}]/result_phase_name" value="<x:out select="$pservice/result_phase_name" />" />
					</td>
					<td>
					<c:set var="result_type_value"><x:out select="$pservice/result_type_value" /></c:set> 
					<cpt:select id="result_type${index}" value="${result_type_value }" key="result_type" name="result_type" label="成果类型" onChange="initControlValue(this.id);"  style="width:90%"></cpt:select>
					<input type="hidden" name="pservices/pservice[${flag}${index}]/result_type_value" class="required" label="成果类型" value="<x:out select="$pservice/result_type_value" />" />
					 <input type="hidden"  name="pservices/pservice[${flag}${index}]/result_type_name" value="<x:out select="$pservice/result_type_name" />" />
					</td>
					<td align="center">
					<input id="application_unit_[${flag}${index}]" value="<x:out select="$pservice/application_unit"/>" label="成果应用单位"  name="pservices/pservice[${flag}${index}]/application_unit" maxlength="300" class="required input_text" style="width: 85%" />
				</td>
				<td align="center">
				<input id="contact_person_[${flag}${index}]" value="<x:out select="$pservice/contact_person"/>"label="联系人"  name="pservices/pservice[${flag}${index}]/contact_person" maxlength="100" class="required input_text" style="width: 85%" />
				</td>
				<td align="center">
				<input id="direct_benefit_[${flag}${index}]" value="<x:out select="$pservice/direct_benefit"/>"label="直接经济效益（万元）"  name="pservices/pservice[${flag}${index}]/direct_benefit" onfocus="InitInput.setNumber(this,7,2,2)"  class="required input_text" style="width: 85%;text-align: right;" />
				</td>
				<td align="center">
				<input id="indirect_benefit_[${flag}${index}]" value="<x:out select="$pservice/indirect_benefit"/>"label="间接经济效益（万元）"  name="pservices/pservice[${flag}${index}]/indirect_benefit" onfocus="InitInput.setNumber(this,7,2,2)"  class="required input_text" style="width: 85%;text-align: right;" />
				</td>
			</tr>
			<c:set value="${index+1}" var="index" scope="page" />
		</x:forEach>
		<script type="text/javascript">
			showAllDateTag("pservice");
		</script>
	</tbody>
</table>
<table width="100%" align="center">
	<tr>
		<td>
		<input type="hidden" id="num" value="0" />
		<input class="button" name="cmdAddbefore" type=button
			value="添加"
			onclick="if(checkTabLimit('pservice','99','最多只能添加99条平台成果转化、转移、推广与服务情况信息')){addNewRow('pservice');showDateTag('pservice');}try{top.resizeFrame();}catch(e){};">
			<input class="button" name="cmdMovePrev" type=button value="上移" onclick="movePrev('pservice','selfund_pservice')"> 
			<input class="button" name="cmdMoveNext" type=button value="下移"onclick="moveNext('pservice','selfund_pservice')"> 
			<input class="button" name="cmddel" type=button value="删除" onclick="deleteSelectedRow('pservice','平台成果转化、转移、推广与服务情况信息');"></td>
			
	</tr>
</table>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注：“转化方式”包含自我转化、合作转化、工程承包、技术转让、技术培训；成果阶段：小试、中试、工业试验、产品；成果类型：新技术、新产品、新工艺、新装备；成果应用单位是成果转让或者合作对象；联系人是指成果应用单位联系人。“经济效益”指平台成果实施后至上一年年度（不超过五年）的累计收入（万元）。
 <table width="100%" border="0" cellpadding="0" cellspacing="1" id='ftable33'
     style="word-break: break-all; word-wrap: break-word"
      class="t_css table01">
      <tr>
      	<td class="t_bar2"><span class="color_red">*</span>代表性成果描述（3000字）</td>
      </tr>
      <tr>
      	<td>选择3-5项代表性成果进行描述。主要内容包括：成果名称、关键技术及水平；成果转化的经济和社会效益以及对行业技术发展和竞争能力提升作用；技术成果工程化、产业化、技术辐射模式和过程。（重点实验室根据情况选择描述）</td>
      </tr>
      <tr>
      	<td>
      	<textarea name="proposal/result_description" rows="16" style="width:98%"
	        	class="input_textarea required maxlength:3000"  label="代表性成果描述" ><x:out select="$xmlData/data/proposal/result_description"/></textarea>
		     <input type="hidden" name="proposal/result_description_hidden" value="" />
      	</td>
      </tr>
      </table>